package com.baidu.health.service;

import com.baidu.health.Vo.LoginInfoVo;
import com.baidu.health.Vo.UserInfoVo;
import com.baidu.health.Vo.UserVo;
import com.baidu.health.pojo.ResultResponse;
import com.baidu.health.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface TbUserService extends IService<TbUser> {

    ResultResponse selectloginusername(LoginInfoVo loginInfoVo);

    ResultResponse selectlogionuserphone(UserVo tbUser);

    ResultResponse authcode(String phone);

    ResultResponse register(UserVo userVo);

    ResultResponse deleteduserId(Integer userId);

    ResultResponse updateUser(TbUser tbUser);

    ResultResponse forgeTPassword(UserVo tbUser);

    ResultResponse updatePassword(TbUser tbUser);

    ResultResponse getUserInfo(UserInfoVo userInfoVo);

    ResultResponse loginOut();

    ResultResponse userSelect();

    ResultResponse userUpdate(Integer userId, Integer status);

    ResultResponse userUpdatepassword(UserVo userVo);

    ResultResponse userMessage(Integer userid);
}
